package cn.yingtian.urlrewrite;

import java.util.regex.Pattern;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String ss="/index.html";
		Pattern pattern=Pattern.compile("/(\\w)*\\.html");
		System.out.println(pattern.matcher(ss).find());
	}

}
